package io.github.service;

import com.baomidou.mybatisplus.service.IService;
import io.github.entity.SysDepartEntity;

import java.util.List;

/**
 * @Author: Max
 * @Date: 2019/10/9 10:07
 */

public interface SysDepartService extends IService<SysDepartEntity>{
    List<SysDepartEntity> listAll();

    List<SysDepartEntity> listOrg();

    List<SysDepartEntity> listDep(Integer orgId,String depName);

    void save(SysDepartEntity entity);

}
